import request from '@/utils/request'

//获取所有案例集合
export function caseDesignList(params) {
    return request({
        url: '/prod-api/cms/caseDesign/app/list',
        method: 'GET',
        params
    })
}

//按分类获取案例集合
export function listByType(params) {
    return request({
        url: '/prod-api/cms/caseDesign/app/listByType',
        method: 'GET',
        params
    })
}

//获取案例详情
export function caseDesignDetails(params) {
    return request({
        url: `/prod-api/cms/caseDesign/app/${params.id}`,
        method: 'GET',
        // params
    })
}
//获取图片集合
export function picConfigList(params) {
    return request({
        url: `/prod-api/cms/picConfig/app/list`,
        method: 'GET',
        params
    })
}